package com.bv.hr.common.utils;

import java.io.Closeable;
import java.io.IOException;

/**
 * @author CYT7
 * @version 1.0
 * @time 12月 20,2021
 * @describe IO相关工具类
 */
public class IoUtils {
    /**
     * @describe 关闭对象，连接
     * @param closeable Closeable接口
     */
    public static void closeQuietly(final Closeable closeable) {
        try {
            if (closeable != null) {
                closeable.close();
            }
        } catch (final IOException ioe) {
            //ignore
        }
    }
}